em, cite, strong, th { font-style: normal; font-weight: normal; }

td.nums { text-align: center; width: 80px; }

#menu { height: 31px; border: 1px solid #CAD9EA; background: #FFF url("img/menu_bg.gif"); background-repeat: repeat-x; }

#forumstats { float: right; line-height: 30px; padding-right: 10px; }

.avataonline { background: transparent url(img/avataronline.gif) no-repeat scroll 10px 40%; border-left: 1px solid #FFFFFF; float: left; height: 30px; padding-left: 28px; }
.avataonline a { line-height: 30px; padding: 0 5px; }

.headactions { float: right; line-height: 1em; padding: 10px 10px 0pt 0pt; }
.headactions img { cursor: pointer; padding: 0pt 5px; vertical-align: middle; }

.mainbox { background: #FFF; border: 1px solid #9DB3C5; padding: 1px; margin-bottom:10px;}
.mainbox .headactions { color: #FFFFFF; }
.mainbox h1, .mainbox caption, .mainbox h6 { line-height: 31px; padding-left: 1em; background: #2F589C url("img/header_bg.gif"); background-repeat: repeat-x; background-position: 0 0; color: #FFF; text-align: left; }
.mainbox h1 a, .mainbox h3 a { color: #FFF; }
.mainbox table { width: 100%; }
.mainbox thead th, .mainbox thead td { background: #E8F3FD; padding: 2px 5px; line-height: 22px; color: #666; }
.mainbox thead.category th, .mainbox thead.category td { background: #E8F3FD url("img/cat_bg.gif"); }
.mainbox thead.separation th, .mainbox thead.separation td { border-top: 1px solid #CAD9EA; }
.mainbox tbody th, .mainbox tbody td { border-top: 1px solid #CAD9EA; padding: 5px; }
.mainbox tbody cite, .mainbox tbody em { line-height: 1.3em; }

.forumlist, .formbox { margin-top: 10px; }
.forumlist table, .threadlist table { border-collapse: separate; }
.forumlist tbody strong, .threadlist tbody strong, .formbox tbody strong { color: #090; }

	/*Forum & Thread List*/
	.forumlist tbody th, .forumlist tbody td, .threadlist tbody th, .threadlist tbody td { color: #666; padding: 1px 5px; border-bottom: 1px solid #FFF; background-color: #F5FAFE; }
		.forumlist tbody th { height: 40px; }
		.forumlist th, .threadlist th { text-align: left; }
				.forumlist th { padding-left: 55px !important; }
					.forumlist h2 em { color: #069; }
				.forumlist tbody th { background-image: url(../../images/default/forum.gif); background-repeat: no-repeat; background-position: 13px 50%; }
					.forumlist tbody th.new { background-image: url(img/forum_new.gif); }
					.moderators a { color: #069; }
					.moderators a strong { font-weight: bold; color: #069; }
				.threadlist th label { float: right; }
				.threadpages { background: url(img/multipage.gif) no-repeat 0 100%; font-size: 11px; margin-left: 5px; white-space: nowrap; }
					.threadpages a { padding-left: 8px; }
						.threadpages a:hover { text-decoration: underline; }
				.threadlist th a.new { color: #090; text-transform: uppercase; font-size: 9px; white-space: nowrap; }
				.threadlist th input { float: left; margin-right: 5px; }
				.threadlist th em, .threadlist th em a { color: #999; }
				.threadlist th img.icon { float: left; margin-left: -22px; }
				.threadlist th img.attach, .threadlist th img.icon { margin-bottom: -3px; }
				.threadlist .target { float: left; display: block; width: 20px; height: 20px; margin-left: -28px; text-indent: -9999px; overflow: hidden;  }
					* html .threadlist .target  { margin-left: -14px; margin-right: 5px; }
	.forumlist tbody tr:hover th, .forumlist tbody tr:hover td, .threadlist tbody tr:hover th, .threadlist tbody tr:hover td { background-color: #E8F3FD; }
		.forumlist td.lastpost { width: 260px; }
		.threadlist td.folder { text-align: center; width: 30px; }
		.threadlist td.icon { text-align: center; padding: 3px 0; width: 16px; }
		.threadlist td.author { width: 120px; }
		.threadlist td.lastpost { text-align: right; width: 120px; padding-right: 15px; }
			.threadlist td.lastpost cite a { color: #999; }
		.forumlist cite, .threadlist cite { display: block; }

		.threadlist td.lastpost em { font-size: 11px; }
.threadlist td.author em, .threadlist td.lastpost em a { font-size: 0.83em; }


/*Common Box*/
.box { background: #FFF; border: 1px solid #CAD9EA; padding: 1px; margin-bottom: 10px; }
	.box h4 { background: #FFF url("img/portalbox_bg.gif"); background-repeat: repeat-x; background-position: 0 0; line-height: 30px; padding: 0 10px; }
	.box table { width: 100%; }
		.box td { border-top: 1px solid #E8E8E8; }
		.box .box li { list-style: none;}
	.postattachlist h4, .tradethumblist h4, .pollpanel h4, .specialthread_4 h4, .typeoption h4 { border-top: 1px solid #CAD9EA; }
	#pmprompt { border-color: #EDEDCE; }
		#pmprompt h4 { background: #FFFFF2; border-top: none; }
		#pmprompt th, #pmprompt td { border-top-color: #EDEDCE; }


/*QuickPost*/
	#quickpost { overflow: hidden; padding-bottom: 0; }
		* html #quickpost { height: 1%; overflow: visible; }
		#quickpost h5 { margin: 0.5em 1em; }
		.postform { float: left; }
		.postform { width: 59%; padding-bottom: 10px; }
			.postform p label { vertical-align: top; font-weight: bold; }
			.postform h5 input { width: 60%; }
			.postform p, .postform div { margin: 0 1em; }
			.postform h4 * { vertical-align: middle; }
				.postform h4 input { width: 60%; }
			.postform textarea { width: 90%; height: 160px; }
			.postform .btns { margin-top: 0.5em; line-height: 30px; color: #999; }
				.postform .btns button { vertical-align: middle; }
				.postform .btns a { color: #069; }
					.postform button { border: none; background: transparent; color: #069; padding: 0; cursor: pointer; }
					.postform #postsubmit { float: left; display: inline; margin-left: 2.3em; }
					.btns em { color: #999; }
			#quickpost h4 { border-bottom: 1px solid #E8E8E8;}

#quickpost table td {
	padding: 5px;
}

#quickpost table td label {
	font-weight: bold;
}


	/*Viewthread*/
	.viewthread { padding-bottom: 1px; }
		.viewthread table, #pmprompt table, #forumlinks, #pmlist, #specialpost, #newpost, #editpost { table-layout: fixed; }
		.viewthread ins, .mainbox ins { display: block; text-align: center; text-decoration: none; margin-bottom: 1px; background: #F7F7F7; border-bottom: 1px solid #CAD9EA; line-height: 26px; }
			ins.logininfo { background: #E8F3FD; padding: 2px 5px; line-height: 22px; color: #666; text-align: left; border: none; }
			.viewthread ins, .viewthread ins a { color: #090; }
			.viewthread td.postcontent, .viewthread td.postauthor { vertical-align: top; padding: 0 1px; border: none; overflow: hidden; background: #FFF; }
			.postinfo { color: #666; border-bottom: 1px solid #CAD9EA; padding: 0 5px; line-height: 26px; height: 26px; overflow: hidden; }
				.postinfo strong, .postinfo em { float: right; line-height: 26px !important; cursor: pointer; padding: 0 3px; color: #069; }
					.postinfo strong { margin-left: 5px; color: #090; font-weight: bold; }
						* html .postinfo strong { margin-top: -2px; }
						.postinfo strong sup { font-weight: normal; margin-left: 1px; color: #999; }
				.postinfo a { color: #069; }
				.postinfo label { color:#090; cursor: pointer; }
			.postmessage { padding: 10px; overflow-x: hidden; }
				.postmessage *, .pmmessage *, .register *  { line-height: normal; }
				.postmessage h2 { font-weight: bold; margin-bottom: 0.5em; }
				.t_msgfont, .t_msgfont td { line-height: 1.6em; }
					.t_msgfont *, .t_smallfont *, .t_bigfont * { line-height: normal; }
					.t_msgfont a, .t_smallfont a, .t_bigfont a { color: #069; }
				.postratings { float: right; }
			.signatures { overflow: hidden; margin: 10px; padding-top: 20px; color: #666; line-height: 1.6em; background: url(../../images/default/sigline.gif) no-repeat 0 0; }
				.signatures * { line-height: normal; }
				.signatures strong { font-weight: bold; }
			.postactions { border-top: 1px solid #E8E8E8; background: #F7F7F7; height: 30px; padding: 0 10px; }
				.postactions strong { cursor: pointer; }
				.postactions input { float: right; margin: 5px 0 0 5px; }
				.postactions p { float: right; line-height: 30px;  }
			.postmessage .box { border-width: 0; margin: 5px 0; }
			.postmessage .typeoption { width: 500px; }
			 	.typeoption tbody th { width: 100px; }
				.typeoption tbody td, .typeoption tbody th { border-top: 0px; border-bottom: 1px dashed #E8E8E8; }
				.postmessage .box tbody th, .postmessage .box tbody td { border-top-color: #E8E8E8; }
		.postmessage fieldset { font-size: 12px; width: 500px; padding: 10px; border: 1px solid #CAD9EA; margin-top: 2em; }
			.postmessage fieldset li { color: #999; line-height: 1.6em; }
			.postmessage fieldset li cite, .postmessage fieldset li em { margin: auto 10px; }
		.t_msgfont li, .t_bigfont li, .t_smallfont li, .faq li { margin-left: 2em; }
		.postattach { width: 500px; margin: 10px 0; }
		.postattachlist { width: 500px; font-size: 12px; margin-top: 2em; }
		.t_attach { border: 1px solid #E8E8E8; background: #FFF; font-size: 12px; padding: 5px; }
			.t_attach em { color: #999; }
		.t_attachlist { border-bottom: 1px dashed #E8E8E8; padding: 5px 0; }
			.t_attachlist dt { font-weight: bold; }
				.t_attachlist dt img { margin-bottom: -4px; }
			.t_attachlist dd { padding-left: 20px; color: #999; }
		.t_attachinsert { margin: 1em 0; font-size: 12px; }
			.t_attachinsert p img { margin-bottom: -4px; }
		.t_table { border: 1px solid #CAD9EA; empty-cells: show; border-collapse: collapse; }
			.t_table td { padding: 4px; border: 1px solid #CAD9EA; overflow: hidden; }
		/* Discuz! Code */
		/*CODE & Quote*/
		.blockcode, .quote { font-size: 12px; margin: 10px 20px; border: solid #CAD9EA; border-width: 4px 1px 1px; background: #FFF url("../../images/default/portalbox_bg.gif"); background-repeat: repeat-x; background-position: 0 0; overflow: hidden; }
			.blockcode h5, .quote h5 { border: 1px solid; border-color: #FFF #FFF #CAD9EA #FFF; line-height: 26px; padding-left: 5px; color: #666; }
				.blockcode code, .quote blockquote { margin: 1em 1em 1em 3em; line-height: 1.6em; }
					.blockcode code { font: 14px/1.4em "Courier New", Courier, monospace; display: block; padding: 5px; }
					.blockcode em { float: right; line-height: 1em; padding: 10px 10px 0 0; color: #666; font-size: 12px; cursor: pointer; padding-top: 5px; }
		p.posttags { margin: 2em 0em 0.5em 0em; }
			p.posttags a, .footoperation span.posttags a { color: #F00; font-weight: bold; margin: 0 4px; }
					p.posttags .postkeywords a, { color: #090; }
		.postmessage strong { font-weight: bold; }
		.postmessage em { color:#666; }
		.postmessage span.t_tag { cursor: pointer; border-bottom: 1px solid #F00; white-space: nowrap; }
		.postmessage span.t_tag:hover { border-bottom: 1px solid #EDEDCE; }
		.mainbox td.postauthor { width: 180px; background: #E8F3FD; padding: 5px; overflow: hidden; }
			.postauthor cite { font-weight: bold; display: block; border-bottom: 1px solid #CAD9EA; height: 21px; overflow: hidden; margin-bottom: 5px; }
				.postauthor cite label a { float: right; padding: 3px; }
			div.avatar { margin: 5px; text-align: center; width: 160px; overflow: hidden }
			.postauthor dt { float: left; margin-right: 0.5em; color: #666; }
			.postauthor dd, .postauthor dt { height: 1.6em; line-height: 1.6em; }
			.postauthor dd { overflow: hidden; }
			.postauthor p { margin: 0 10px; }
				.postauthor p.customstatus { color: #666 }
				.postauthor p em, .postauthor dt em { color: #090; }
			.postauthor ul { margin: 5px 10px; line-height: 1.6em; overflow: hidden; }
				.postauthor li { text-indent: 22px; width: 49.5%; height: 1.6em; overflow: hidden; float: left; background-position: 0 50%; background-repeat: no-repeat; }
					.postauthor li.pm { background-image: url(../../images/default/buddy_sendpm.gif); }
					.postauthor li.buddy { background-image: url(../../images/default/user_add.gif); }
					.postauthor li.space { background-image: url(../../images/default/forumlink.gif); }
					.postauthor li.online { background-image: url(../../images/default/user_online.gif); color: #090; }
					.postauthor li.offline { color: #666; background-image: url(../../images/default/user_offline.gif); }
					.postauthor li.magic { background-image: url(../../images/default/magic.gif);}
			.postauthor dl.profile, .postauthor div.bio { margin: 5px 10px; padding-top: 5px; }
		.taglinks { margin: 10px; border-top: 1px dashed #CAD9EA; overflow: hidden; }
			.taglinks div { float: left; width: 33%; }
				.taglinks div h4 { height: 30px; line-height: 30px; text-indent: 14px; }
					.taglinks div h4 a { color:  #069}
				.taglinks div ul { border-right: 1px dashed #CAD9EA; margin: 0 10px 0 20px; }
					.taglinks div.noborder ul { border-right: none; }
					.taglinks div ul li { list-style: none; height: 20px; overflow: hidden; line-height: 20px; color:  #999; }
					.taglinks div li a:hover { color:  #069}
				.taglinks div dl dt { float: left; width: 100px; text-align: center; }
					.taglinks div dl dt img { width: 76px; height: 58px; }
					.taglinks div dl dt p { margin: 10px; overflow: hidden; color:  #999; }
				.taglinks div dl dd { margin-left: 80px; }


.threadflow { padding: 0 5px; }
.threadflow { float: right; border: 1px solid #CAD9EA; background: #F7F7F7; height: 26px; line-height: 26px; color: #999; overflow: hidden; }

.postbtn {
	margin-left:10px;
}
		
.pages_btns { clear: both; width: 100%; overflow: hidden; padding: 10px 0; }
.pages_btns .pagination { float: left; width: auto; padding-top: 4px; }
.pages_btns .pagination a { border: 1px solid gray; padding: 2px 5px;}

#nav { float: left; margin: 5px 0; }

.footoperation { background: #E8F3FD; padding: 5px; border-top: 1px solid #CAD9EA; }
.threadlist .footoperation { padding-left: 61px; }
.footoperation * { vertical-align: middle; }
.footoperation label { margin-right: 1em; cursor: pointer; }
.footoperation button { line-height: 1em; display: inline; width: 0; overflow: visible; padding: 3px 5px 2px; border: 1px solid #CAD9EA; background: #FFF; color: #069; cursor: pointer; margin-left: 2px; }
.footoperation > button { width: auto; }
